export const api = {
  login: '/h5/login',
  sms: '/driver/sendSmsCode',
  getUserInfo: '/consignerPlatform/getConsignerUserByLogin',
  getFinanceWalletUser: '/finance/wallet/user', // 查询我的账户

  countContact: '/transport/order/count/contact/number', //统计联系人数

  getWaybillList: '/transport/bill/page', //获取运单列表
  getWaybillDetail: '/transport/bill/detail', //获取运单详情
  addComment: '/transport/bill/comment/driver', //评价司机
  getOrderList: '/transport/order/page', //获取订单列表
  getOrderDeatil: '/transport/order/detail', //获取订单详情
  updateOrderStatus: '/transport/order/confirm', //更新接单状态
  updateGrabOrders: '/transport/order/rush', //更新抢单状态
  addUploadImage: '/photoFile/uploadPhoto', //上传图片
  getReceiptList: '/transport/bill/receipt/list', //查看回单
  getCargoOwnerList: '/consignerPlatform/detail', //货主详情
  addComplaint: '/transport/bill/complaint/add', //添加投诉
  getComplaintDetail: '/transport/bill/complaint/detail', //查看投诉详情
  getWaybillAllList: '/transport/bill/all/page', //获取运单全部状态列表
  updateCancelOrder: '/transport/order/cancel', //取消订单
  confirmSignFor: '/transport/bill/receive', //签收
  transportBillGetReceipt: '/transport/bill/getReceipt', // 查看单据
  transportBillConfirmCons: '/transport/bill/confirmCons', // 确认单据
  transportBillRejectReceipt: '/transport/bill/rejectReceipt', // 单据驳回
  financeWalletPayPasswordStatus: 'finance/wallet/payPassword/status', // 判断是否设置支付密码
  setFinanceWalletDriverPayPassword: '/finance/wallet/driver/payPassword/set', // 设置支付密码

  // transportOrderAdd: '/transport/order/add', //货主创建订单
  transportOrderAdd: '/transport/order/publish', //货主创建订单
  transportOrderPayment: '/transport/order/payment', //货主支付运费
  carrierSearchList: '/carrierPlatform/listBySearchValue', //承运商查询列表
  driverSearchList: '/driver/list', //司机查询列表
  orderPoint: '/transport/order/point', //指派订单
  getCommonCarrier: '/consignerCarrier/page', //查询常用承运人
  commonCarrierAdd: '/consignerCarrier/add', //添加常用承运人
  commonCarrierDelete: '/consignerCarrier/delete', //删除常用承运人

  transportAdress: '/consignerAddress/addressList', //货主常用地址分页
  addTransportAdress: '/consignerAddress/add', //添加货主常用地址
  deleteTransportAdress: '/consignerAddress/delConsignerAddress', //删除货主常用地址

  getNotice: '/sysNotice/getNotice', // 查询公告或通知
  getNoReadNotice: '/sysNotice/getNoticeInfo', // 获取未读公告或通知
  getDictTypeGetByDictType: '/dictType/getByDictType', //获取数据字典数据
  getSysNoticeDataStatistics: '/sysNotice/dataStatistics', // 通知类型统计
  sysNoticeReadingByType: '/sysNotice/readingByType', // 通知或公告一键修改状态
  addUserOpinion: '/user/opinion/add', // 新增意见反馈

  getSimpleConsignerUser: '/consignerPlatform/getSimpleConsignerUserList', // 获取货主结算方式权限
  payPasswordCheck: '/finance/wallet/user/payPassword/check', // 获取货主结算方式权限
  accountDestroy: '/account/destroy', // 注销账号
  accountDestroySms: '/account/destroy/sms', // 注销账号短信验证码
  systemConfigTel: '/systemConfig/data/customer/tel', // 配置信息

  getBillLocation: '/device/getBillLocation', // 运单监控获取位置

  transportBillCommentPersonSynopsis: '/transport/bill/comment/person/synopsis', // 查询简介
  transportBillCommentPage: '/transport/bill/comment/page', // 查询评价列表
  transportBillComplaintPage: '/transport/bill/complaint/page', // 投诉列表分页
  transportBillComplaintEdit: '/transport/bill/complaint/edit', // 编辑投诉信息
  transportBillComplaintEetail: '/transport/bill/complaint/detail', // 查看投诉详情
  transportBillComplaintAdd: '/transport/bill/complaint/add', // 添加投诉
  transportBillComplaintListBySearch: '/transport/bill/complaint/listBySearch', // 投诉订单模糊查询
  transportBillComplaintRevoke: '/transport/bill/complaint/revoke', // 撤销投诉
  sysTagLibraryPage: '/sysTagLibrary/page', // 标签列表(分页)
  getSysTagLibraryPage: '/sysTagLibrary/page' //获取标签
}
